package edu.rjxy.xjdx.emps.dao;

import edu.rjxy.xjdx.emps.common.domain.Employee;
import edu.rjxy.xjdx.emps.common.utils.PageInfo;

import java.util.List;

public interface EmployeeDao {
    List<Employee> selectAllEmployee();

    PageInfo<Employee> selectEmpByPage(int pageNo, int pageSize);

    void deleteEmployeeById(int id);

    int insertEmployee(Employee employee);

    Employee selectEmployeeById(int id);

    int updateEmployee(Employee employee);
}
